﻿ALTER TABLE [dbo].[Agreement]
	ADD CONSTRAINT [AgreementToAgreementState] 
	FOREIGN KEY ([AgreementStateId])
	REFERENCES [dbo].[AgreementState] ([Id])
	ON UPDATE CASCADE
	ON DELETE CASCADE
